#ifndef FLOW3DNODE_H
#define FLOW3DNODE_H

#include <gmDisplayObject>
 using namespace GMlib;

#include <gmPoint>
#include <gmContainer>
using GMlib::DMatrix;
using GMlib::Vector;

#include "flow3ddata.h"

class MarchingCubes;

class Flow3DNode : public DisplayObject
{
public:
  Flow3DNode();
  void setF3DData( Flow3DData  *f3d_data);

protected:
  void localDisplay();
  void localSelect();
  void localSimulate( double dt );

private:
  Flow3DData *_f3d_data;
  int frame;
  double animTimer;
	MarchingCubes *mcubes;

};

#endif // FLOW3DNODE_H



